package com.cdsxt.genCode.vo;

import java.util.ArrayList;
import java.util.List;

import com.cdsxt.util.StringUtils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GenCodeModuleVo {
	private String moduleInfo;
	private String className;
	private String moduleName;//className类名的首字符小写
	private String tableName;
	private List<GenCodeFieldVo> listField;
	
	/**
	 * className类名的首字符小写
	 */
	public String getModuleName() {
		if (this.moduleName==null) {
			this.moduleName=this.className.substring(0, 1).toLowerCase()+this.className.substring(1);	
		}
		return this.moduleName;
	} 
}
